package com.dp.factory.abstractFactory;



/**
 * @Author: dupeng
 * @CreateTime: 2024-12-27  18:10
 * @Description: 手机工厂
 */
public class MiPhoneFactory implements AbstractFactory {

    @Override
    public Phone createPhone() {
        return new MiPhone();
    }

    @Override
    public Pad createPad() {
        return new MiPad();
    }
}
